import { ERP_PRINT_PURCHASE, ERP_PRINT_SALE } from '@/api/erp/print'
export default {
  namespaced: true,
  actions: {
    // 查询采购订单打印数据
    async orderselect_print ({ dispatch }, data = {}) {
      const res = await ERP_PRINT_PURCHASE(data)
      return res
    },
    // 查询销售单据打印数据
    async saleselect_print ({ dispatch }, data = {}) {
      const res = await ERP_PRINT_SALE(data)
      return res
    }
  }
}
